package com.zrj.auth.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.zrj.auth.mapper.SysUserMapper;
import com.zrj.auth.pojo.dto.AuthUserDTO;
import com.zrj.auth.pojo.entity.SysUser;
import com.zrj.auth.service.ISysUserService;
import org.springframework.stereotype.Service;

/**
 * @author zhaorujie
 */
@Service
public class SysUserServiceImpl extends ServiceImpl<SysUserMapper, SysUser> implements ISysUserService {
    @Override
    public AuthUserDTO getAuthInfoByUsername(String username) {
        AuthUserDTO userAuthInfo = this.baseMapper.getAuthInfoByUsername(username);
        return userAuthInfo;
    }
}
